/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Utilidades;

import java.util.ArrayList;

/**
 *
 * @author Administrador
 */
public class Cola<E> extends ArrayList<E> {

    public void push(E aAgregar) {
        super.add(aAgregar);
    }

    public E peek(){
        return super.get(0);
    }

    public E pop(){
        return super.remove(0);
    }

}
